/*
 * Description: FD行信息调用后台接口JS
 * Company: 联宝（合肥）电子科技有限公司
 * Author: Qiuxue.Wu
 * Date: 2020/05/29 15:26
 */

import { httpPost } from '../../utils/axios-utils'

export function fdRowListPart(obj, authConfig) {
  return httpPost('/smart-cost/quote/fd_row/listPart', obj, authConfig)
}

export function fdRowListPartQuote(obj, authConfig) {
  return httpPost('/smart-cost/quote/fd_row/listPartQuote', obj, authConfig)
}

export function fdRowAddPart(obj, authConfig) {
  return httpPost('/smart-cost/quote/fd_row/addPart', obj, authConfig)
}

export function fdRowEditPart(obj, authConfig) {
  return httpPost('/smart-cost/quote/fd_row/editPart', obj, authConfig)
}

export function fdRowDeletePart(obj, authConfig) {
  return httpPost('/smart-cost/quote/fd_row/deletePart', obj, authConfig)
}

export function fdRowRefreshPart(obj, authConfig) {
  return httpPost('/smart-cost/quote/fd_row/refreshPart', obj, authConfig)
}

export function fdRowQueryReferencePrice(obj, authConfig) {
  return httpPost('/smart-cost/quote/fd_row/queryReferencePrice', obj, authConfig)
}
export function fdRowRejectToIdp(obj, authConfig) {
  return httpPost('/smart-cost/quote/fd_row/rejectToIdp', obj, authConfig)
}
